package com.baoyouqun.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baoyouqun.entity.City;

import java.util.List;


public interface CityService extends IService<City> {


    List<String> getSingleWithChildren(String code);

    // 多个编码查询
    List<String> getMultiWithChildren(List<String> codes);

    List<Tree<String>> getTree();


    List<Tree<String>> treeUserCount();

    List<Tree<String>> treeDemandCount();

    List<Tree<String>> treeUserVipCount(Long nationwideTotalUser);


    List<Tree<String>> treeDemandCountByType();
}